LiveWire Peer Support Network

Printable Version of Topic "VBA help"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- VBA help (http://www.golivewire.com/forums/peer-pntbte-support-a.html)


-- Posted by King Kong at 7:18 am on Mar. 7, 2008

Private Sub Command51_Click()
DoCmd.GoToRecord "acNewRec"
End Sub

Private Sub Command46_Click()
DoCmd.GoToRecord "acPrevious"
End Sub

Private Sub Command47_Click()
DoCmd.GoToRecord "acNext"
End Sub

Private Sub Command45_Click()
DoCmd.GoToRecord "acFirst"
End Sub

Private Sub Command44_Click()
DoCmd.GoToRecord "acLast"
End Sub

whats wrong with this VB.  

I just edited the automatic one, to get more marks in the progect now it does not work


-- Posted by The Bartender at 7:20 am on Mar. 7, 2008

What is the docmd command? I'd never came across that?


-- Posted by King Kong at 7:20 am on Mar. 7, 2008

Quote: from richiewalker at 3:20 pm on Mar. 7, 2008


What is the docmd command? I'd never came across that?

it runs commands


-- Posted by vampirefreek4life at 7:21 am on Mar. 7, 2008

did you save the records as an html page?


-- Posted by King Kong at 7:28 am on Mar. 7, 2008

Quote: from vampirefreek4life at 3:21 pm on Mar. 7, 2008


did you save the records as an html page?

no, just in a normal table, and form


-- Posted by vampirefreek4life at 7:30 am on Mar. 7, 2008

save the page as an html page, and the words in parentheses add .html after it and see what that does.

ex. GoToRecord "aclast.html"


-- Posted by Lightvader at 7:31 am on Mar. 7, 2008

what did you change? I can help you if I know what you changed


-- Posted by King Kong at 7:33 am on Mar. 7, 2008

i figured it out I got rid of

, ,

and it was ment to be thre    boy is my face red


-- Posted by Lightvader at 7:38 am on Mar. 7, 2008

lmao! those colons are bitches!!


www.golivewire.com