Go Back   DeveloperBarn Forums > Databases > Microsoft Access

Sponsored Links

Discuss "Help with Updating field" in the Microsoft Access forum.

Microsoft Access - Microsoft Access is a database for small to medium applications. Learn tips and tricks and best database practices here.


Closed Thread « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1  
Old April 1st, 2008, 10:26 AM
Rebelle's Avatar
V.I.P/Donor


 
Join Date: Mar 2008
Posts: 254
Thanks: 48
Thanked 1 Time in 1 Post
Rep Power: 1
Rebelle is on a distinguished road
Default Help with Updating field

Hi All,

I have a query where i'm looking for any containing the word "ready", so I have *ready*.

We'll i get results like,


cs-ready
de-ready
lf-ready

I need to update to only change "ready" to "not", so my new results will be,
Field1
cs-not
de-not
lf-not

Thanks!
Sponsored Links
  #2  
Old April 1st, 2008, 10:35 AM
AOG123's Avatar
Lightning Master

 
Join Date: Mar 2008
Location: Fortress Of Solitude
Posts: 93
Thanks: 6
Thanked 23 Times in 18 Posts
Rep Power: 1
AOG123 is on a distinguished road

Awards Showcase
Microsoft Access 
Total Awards: 1

Default

is there always going to be a hyphen?
__________________
If i helped you, make me famous by clicking the

Last edited by AOG123; April 2nd, 2008 at 04:46 AM.
  #3  
Old April 1st, 2008, 10:57 AM
Rebelle's Avatar
V.I.P/Donor


 
Join Date: Mar 2008
Posts: 254
Thanks: 48
Thanked 1 Time in 1 Post
Rep Power: 1
Rebelle is on a distinguished road
Default

Hi AOG,

Yes, there will always be a hyphen.

Thanks for the info.
  #4  
Old April 1st, 2008, 10:59 AM
AOG123's Avatar
Lightning Master

 
Join Date: Mar 2008
Location: Fortress Of Solitude
Posts: 93
Thanks: 6
Thanked 23 Times in 18 Posts
Rep Power: 1
AOG123 is on a distinguished road

Awards Showcase
Microsoft Access 
Total Awards: 1

Default

No problem,.. you should put a filter in for "Ready",.. but asides from that you shouldn't have any problems give me a shout if you do

Edit,... basic sample ,..

Comments on this post
Rebelle agrees: Excellent!!!

Last edited by AOG123; April 2nd, 2008 at 04:51 AM.
  #5  
Old April 1st, 2008, 12:24 PM
Rebelle's Avatar
V.I.P/Donor


 
Join Date: Mar 2008
Posts: 254
Thanks: 48
Thanked 1 Time in 1 Post
Rep Power: 1
Rebelle is on a distinguished road
Default

Thanks Bunches AOG!!!

Got it...was having a bit of an issue with the update part but with the example, got it now!

I also searched info on replace and seems like it works too....did a:

Code:
replace([fieldname],"ready","not")

Comments on this post
AOG123 agrees: I never even thought of that
  #6  
Old April 1st, 2008, 06:45 PM
sbenj69's Avatar
Moderator

 
Join Date: Mar 2008
Posts: 84
Thanks: 20
Thanked 24 Times in 19 Posts
Rep Power: 1
sbenj69 is on a distinguished road

Awards Showcase
Microsoft Windows Microsoft Access 
Total Awards: 2

Default

that's the easier way to do it

Replace ([yourfield],"ready","not")
Closed Thread

  DeveloperBarn Forums > Databases > Microsoft Access

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 04:36 PM.



Content Relevant URLs by vBSEO 3.2.0