|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I am writing a .net application with an access 2000 data store.
My code creates a table on the fly, I have a field that needs to be 11 characters long and right justified, if I manually enter Fixed in the fields format property box it works great, but I need to be able to do it programatically. This qery seems to run OK but it does not alter the format property??? UPDATE TinoMesa SET [PC-IN-RETAIL] = FORMAT ([PC-IN-RETAIL],'Fixed'); this one does not work either (no error messages either...???) UPDATE TinoMesa SET [PC-IN-RETAIL] = FORMAT$ ([PC-IN-RETAIL],'Fixed'); please help ![]() |
|
#2
|
|||
|
|||
|
The following code will not work as scripted below but should bring you on the right track
dim db as object dim qd as object dim qf as object set db=currentdb set qd = db.allqueries("MyQueryName") qd.Fields("MyFieldName").Format = "Fixed" qd.close db.close set nothing blabla |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Fixed formatting plz Help!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|