Click here to Skip to main content
15,906,569 members
Home / Discussions / Database
   

Database

 
Questionhow to add 7 days to my date filter Pin
hassanasp24-Mar-08 9:35
hassanasp24-Mar-08 9:35 
AnswerRe: how to add 7 days to my date filter Pin
Pete O'Hanlon24-Mar-08 10:42
mvePete O'Hanlon24-Mar-08 10:42 
AnswerRe: how to add 7 days to my date filter Pin
Sankar Komma 27-Mar-08 8:19
Sankar Komma 27-Mar-08 8:19 
GeneralComplicated query issue: need to specify strict return Pin
Vodstok24-Mar-08 8:49
Vodstok24-Mar-08 8:49 
GeneralRe: Complicated query issue: need to specify strict return Pin
Pete O'Hanlon24-Mar-08 10:45
mvePete O'Hanlon24-Mar-08 10:45 
GeneralRe: Complicated query issue: need to specify strict return Pin
A Wong25-Mar-08 5:11
A Wong25-Mar-08 5:11 
GeneralRe: Complicated query issue: need to specify strict return Pin
Vodstok25-Mar-08 6:01
Vodstok25-Mar-08 6:01 
QuestionVBA Access 2003 Error 2749 Pin
cyberE-gor24-Mar-08 6:40
cyberE-gor24-Mar-08 6:40 
How can I avoid the error:?

-------------------------------------------------------------------------------------------------------
Run-time error '2749':

There isn't enough memory to complete the Automation object operation in the OLE object.

--------------------------------------------------------------------------------------------------------






Here is the code:
--------------------------------------------------------------------------------------------------------
Private Sub cmdLoadOLE_Click()<br />
<br />
       Dim MyFolder As String<br />
       Dim MyExt As String<br />
       Dim MyPath As String<br />
       Dim MyFile As String<br />
      <br />
       MyFolder = Me.SearchFolder__<br />
       ' Get the search path.<br />
       MyPath = MyFolder & "\" & "*.jpg"<br />
       ' Get the first file in the path containing the file extension.<br />
       MyFile = Dir(MyPath, vbNormal)<br />
<br />
       Do While Len(MyFile) <> 0<br />
<br />
          '[fldID] = CInt("4869")<br />
          [fldID] = CInt(Replace(MyFile, ".jpg", ""))<br />
          [fldOLE].Class = "MSPhotoEd.3"<br />
          [fldOLE].OLETypeAllowed = acOLEEmbedded<br />
          [fldOLE].SourceDoc = MyFolder & "\" & MyFile<br />
          [fldOLE].Action = acOLECreateEmbed<br />
          [fldOLE].Action = acOLEClose<br />
       <br />
          ' Check for next OLE file in the folder.<br />
          MyFile = Dir<br />
         <br />
          ' For Access 97 only, use the following line of code:<br />
          DoCmd.RunCommand acCmdRecordsGoToNew<br />
<br />
       Loop<br />
<br />
End Sub


--------------------------------------------------------------------------------------------------------

Thanks in advance

Generalnewbee ado.net Pin
Mogaambo24-Mar-08 4:08
Mogaambo24-Mar-08 4:08 
GeneralRe: newbee ado.net Pin
pmarfleet24-Mar-08 4:36
pmarfleet24-Mar-08 4:36 
GeneralHandling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) [modified] Pin
Member 470820224-Mar-08 2:53
Member 470820224-Mar-08 2:53 
GeneralRe: Handling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) Pin
Mark J. Miller24-Mar-08 6:58
Mark J. Miller24-Mar-08 6:58 
GeneralRe: Handling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) Pin
Member 470820224-Mar-08 18:08
Member 470820224-Mar-08 18:08 
GeneralRe: Handling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) Pin
Pete O'Hanlon24-Mar-08 11:18
mvePete O'Hanlon24-Mar-08 11:18 
GeneralRe: Handling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) Pin
Member 470820224-Mar-08 18:01
Member 470820224-Mar-08 18:01 
GeneralRe: Handling Uncommited transanction when system terminated abnormally ! ( Please reply, it`s urgent) Pin
Pete O'Hanlon24-Mar-08 23:09
mvePete O'Hanlon24-Mar-08 23:09 
QuestionHow can I ????????????? Pin
Mogaambo24-Mar-08 2:51
Mogaambo24-Mar-08 2:51 
AnswerRe: How can I ????????????? Pin
sarvesh.upadhyay24-Mar-08 3:15
professionalsarvesh.upadhyay24-Mar-08 3:15 
AnswerRe: How can I ????????????? Pin
hassanasp24-Mar-08 9:39
hassanasp24-Mar-08 9:39 
Generalquestion about retrieving Pin
johland24-Mar-08 2:21
johland24-Mar-08 2:21 
GeneralInsertion in table Pin
Syed Mujtaba Hassan23-Mar-08 22:37
Syed Mujtaba Hassan23-Mar-08 22:37 
GeneralRe: Insertion in table Pin
N a v a n e e t h23-Mar-08 23:20
N a v a n e e t h23-Mar-08 23:20 
GeneralRe: Insertion in table Pin
Syed Mujtaba Hassan23-Mar-08 23:24
Syed Mujtaba Hassan23-Mar-08 23:24 
GeneralRe: Insertion in table [modified] Pin
SimulationofSai23-Mar-08 23:32
SimulationofSai23-Mar-08 23:32 
GeneralRe: Insertion in table Pin
Syed Mujtaba Hassan24-Mar-08 0:47
Syed Mujtaba Hassan24-Mar-08 0:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.