A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format Property in Sql statment



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2005, 01:02 PM
yaya
external usenet poster
 
Posts: n/a
Default Format Property in Sql statment

Is there a way to set\change the Format Property of a filed in table by SQL
statement?
  #2  
Old November 13th, 2005, 01:28 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Format Property in Sql statment

No. The Format property of a Field in a TableDef can only be set using DAO
code.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yaya" wrote in message
...
Is there a way to set\change the Format Property of a filed in table by
SQL
statement?



  #3  
Old November 13th, 2005, 01:40 PM
yaya
external usenet poster
 
Posts: n/a
Default Format Property in Sql statment

Hi Allen,
First thank you.
I asked you befor few days about the Me.refresh and you answer me
("me.dierty" ...) and it;s solved the problem. BUT i have another quation
with this subject:
I have a form base on this big table i talked about (20k records).
from this form i call a vba function that change (by "db.execute" sql
statement) one of the fields in the current record that shown in this form.
to reflect the changes i use: forms![frm1].refresh and as i said it is very
very slow.
I can't use here ".dirty" because the changes made by the function and not
by the form.
Do you have another way to reflect the changes only to this specific record
in the form?

and again, you realy helped me so thanks.


  #4  
Old November 13th, 2005, 02:40 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Format Property in Sql statment

Answered under your original post.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yaya" wrote in message
...

I asked you befor few days ... BUT i have another quation
with this subject



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL statment Swish Using Forms 1 November 7th, 2005 09:20 AM
Upsizing design considerations philr New Users 9 September 12th, 2005 06:51 AM
Append sql statment Frank Running & Setting Up Queries 2 March 23rd, 2005 12:27 PM
SQL Format for CDate Revisited darrep Running & Setting Up Queries 5 January 21st, 2005 01:55 AM
Format Property: Text field to Titlecase Vickie Database Design 1 May 25th, 2004 06:45 PM


All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.