<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Microsoft Access Forums - Programming</title>
		<link>http://www.accessforums.net/</link>
		<description>Access programming discussion.</description>
		<language>en</language>
		<lastBuildDate>Thu, 20 Jun 2013 09:59:38 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.accessforums.net/images/misc/rss.png</url>
			<title>Microsoft Access Forums - Programming</title>
			<link>http://www.accessforums.net/</link>
		</image>
		<item>
			<title>Value of Existing Control</title>
			<link>http://www.accessforums.net/programming/value-existing-control-35796.html</link>
			<pubDate>Wed, 19 Jun 2013 14:36:10 GMT</pubDate>
			<description><![CDATA[How does not obtain the value of an existing control? I've set my control be: dim ctl as control. But when I try to debug.print it's value with: 
...]]></description>
			<content:encoded><![CDATA[<div>How does not obtain the value of an existing control? I've set my control be: dim ctl as control. But when I try to debug.print it's value with:<br />
<br />
debug.print ctl.value..... after you keyin the period, the pulldown object properties does not contain the word &quot;Value&quot;<br />
<br />
I'm using Access 2010.<br />
<br />
CementCarver</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>CementCarver</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/value-existing-control-35796.html</guid>
		</item>
		<item>
			<title>Treeview control wizard</title>
			<link>http://www.accessforums.net/programming/treeview-control-wizard-35788.html</link>
			<pubDate>Wed, 19 Jun 2013 12:17:53 GMT</pubDate>
			<description><![CDATA[Before I have a question about "how to fill level 3 of treeview by query" but I did not get answer, after searching a lot in Google I read that there...]]></description>
			<content:encoded><![CDATA[<div><div style="text-align: left;">Before I have a question about &quot;how to fill level 3 of treeview by query&quot; but I did not get answer, after searching a lot in Google I read that there is a control wizard that works with Access97.</div>  <div style="text-align: left;">I like to know how I can use this wizard with Access 2007. That is possible?</div>  <div style="text-align: left;">What I have found for 2 levels is like below code for Function tvwBooks_Fill()</div>  <div style="text-align: left;">Design of tables and query is like below and I like to change below code for the treeview that </div>  <div style="text-align: left;">First level is: Author</div>  <div style="text-align: left;">Second level is: book</div>  <div style="text-align: left;">Third level is: transmittal no</div>  <div style="text-align: left;">------------------------------------------------------------------------------------</div>  <div style="text-align: left;"><b>tblTransmittal </b>(TransId (pk),TransmittalNo)</div>  <div style="text-align: left;"><b>tblbook </b>(Bookid (pk),title)</div>  <div style="text-align: left;"><b>tblAuthor</b>(AuthorID(pk), AuthorPrefix, AuthorFirstName, AuthorMiddleName, AuthorLastName, AuthorSuffix)</div>  <div style="text-align: left;"><b>tblBookAuthors</b> (Bookid(pk), AuthorID(pk))</div>  <div style="text-align: left;"><b>tblTransmittal_Book_Author</b> (Transid(pk), Bookid(pk), AuthorID(pk))</div>    <div style="text-align: left;"><b><font color="#3E3E3E"><span style="font-family: &amp;quot">qryEBookAuthors</span></font>:</b></div>  <div style="text-align: left;"> SELECT DISTINCT tblAuthors.AuthorID, Trim(IIf([AuthorFirstName],[AuthorLastName] &amp; IIf([AuthorPrefix],[AuthorPrefix] &amp; &quot; &quot;,&quot;&quot;) &amp; IIf([AuthorFirstName],&quot;, &quot; &amp; [AuthorFirstName],&quot;&quot;) &amp; IIf([AuthorMiddleName],&quot; &quot; &amp; [AuthorMiddleName]),[AuthorLastName])) &amp; IIf([AuthorSuffix],&quot; &quot; &amp; [AuthorSuffix],&quot;&quot;) AS LastNameFirst</div>  <div style="text-align: left;">FROM tblAuthors</div>  <div style="text-align: left;">ORDER BY Trim(IIf([AuthorFirstName],[AuthorLastName] &amp; IIf([AuthorPrefix],[AuthorPrefix] &amp; &quot; &quot;,&quot;&quot;) &amp; IIf([AuthorFirstName],&quot;, &quot; &amp; [AuthorFirstName],&quot;&quot;) &amp; IIf([AuthorMiddleName],&quot; &quot; &amp; [AuthorMiddleName]),[AuthorLastName])) &amp; IIf([AuthorSuffix],&quot; &quot; &amp; [AuthorSuffix],&quot;&quot;);</div>      <div style="text-align: left;"><b><font color="#3E3E3E"><span style="font-family: &amp;quot">qryEBooksByAuthor</span></font> :</b></div>  <div style="text-align: left;">SELECT tblBookAuthors.AuthorID, tblBookAuthors.BookID, qryBookAuthors.LastNameFirst, tblBooks.Title, tblBooks.Type, Switch([ReadStatus]=3,&quot; &quot; &amp; Chr$(215),[ReadStatus]=2,&quot; &quot; &amp; Chr$(247)) AS BeenRead</div>  <div style="text-align: left;">FROM tblBooks INNER JOIN (tblBookAuthors INNER JOIN qryBookAuthors ON tblBookAuthors.AuthorID = qryBookAuthors.AuthorID) ON tblBooks.BookID = tblBookAuthors.BookID</div>  <div style="text-align: left;">ORDER BY qryBookAuthors.LastNameFirst, tblBooks.Title;<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Function tvwBooks_Fill()<br />
'Created by Helen Feddema 2-10-2002<br />
'Last modified 4-23-2002<br />
&nbsp;<br />
'============================================================<br />
'Modified from a procedure generated by the Access 97<br />
'Treeview Control Wizard<br />
&nbsp;<br />
'PURPOSE: Fill the ActiveX Treeview Control 'tvwBooks' with<br />
'author and book information<br />
'ACCEPTS: Nothing<br />
'RETURNS: Nothing<br />
'CALLED FROM: Form Load event<br />
'============================================================<br />
&nbsp;<br />
On Error GoTo ErrorHandler<br />
&nbsp;<br />
&nbsp;  Dim strMessage As String<br />
&nbsp;  Dim dbs As DAO.Database<br />
&nbsp;  Dim rst As DAO.Recordset<br />
&nbsp;  Dim intVBMsg As Integer<br />
&nbsp;  Dim strQuery1 As String<br />
&nbsp;  Dim strQuery2 As String<br />
&nbsp;  Dim nod As Object<br />
&nbsp;  Dim strNode1Text As String<br />
&nbsp;  Dim strNode2Text As String<br />
&nbsp;  Dim strVisibleText As String<br />
&nbsp; <br />
&nbsp;  Set dbs = CurrentDb()<br />
&nbsp;  strQuery1 = &quot;qryEBookAuthors&quot;<br />
&nbsp;  strQuery2 = &quot;qryEBooksByAuthor&quot;<br />
&nbsp; <br />
&nbsp;  With Me![tvwBooks]<br />
&nbsp; &nbsp; &nbsp; 'Fill Level 1<br />
&nbsp; &nbsp; &nbsp; Set rst = dbs.OpenRecordset(strQuery1, dbOpenForwardOnly)<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; 'Add a node object for each record in the &quot;qryEBookAuthors&quot; table/query.<br />
&nbsp; &nbsp; &nbsp; 'The Key argument concatenates the level number and the LastNameFirst<br />
&nbsp; &nbsp; &nbsp; 'field of the Level 1 query, to create a unique key value for the node.<br />
&nbsp; &nbsp; &nbsp; 'The Text argument is the text displayed as a Level 1 node in the<br />
&nbsp; &nbsp; &nbsp; 'TreeView control<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; Do Until rst.EOF<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode1Text = StrConv(&quot;Level1&quot; &amp; rst![LastNameFirst], _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Set nod = .Nodes.Add(Key:=strNode1Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text:=rst![LastNameFirst])<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Expand the entire node<br />
&nbsp; &nbsp; &nbsp; &nbsp;  nod.Expanded = True<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rst.MoveNext<br />
&nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; rst.Close<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; 'Fill Level 2<br />
&nbsp; &nbsp; &nbsp; Set rst = dbs.OpenRecordset(strQuery2, dbOpenForwardOnly)<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; 'Add a node object for each record in the &quot;qryEBooksByAuthor&quot;<br />
&nbsp; &nbsp; &nbsp; 'table/query.<br />
&nbsp; &nbsp; &nbsp; 'The value of the Relative argument matches the Key argument value<br />
&nbsp; &nbsp; &nbsp; 'for the Level 1 node this Level 2 node belongs to.<br />
&nbsp; &nbsp; &nbsp; 'The Relationship argument takes a named constant, tvwChild,<br />
&nbsp; &nbsp; &nbsp; 'indicating that the Level 2 node becomes a child node of the<br />
&nbsp; &nbsp; &nbsp; 'Level 1 node named in the Relative argument.<br />
&nbsp; &nbsp; &nbsp; 'The Key argument concatenates the level number and the Title<br />
&nbsp; &nbsp; &nbsp; 'field of the Level 2 query, to create a unique key value for the node.<br />
&nbsp; &nbsp; &nbsp; 'The Text argument is the text displayed as a Level 2 node in the<br />
&nbsp; &nbsp; &nbsp; 'TreeView control<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; Do Until rst.EOF<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode1Text = StrConv(&quot;Level1&quot; &amp; rst![LastNameFirst], vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode2Text = StrConv(&quot;Level2&quot; &amp; rst![Title], vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strVisibleText = rst![Title]<br />
&nbsp; &nbsp; &nbsp; &nbsp;  .Nodes.Add relative:=strNode1Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; relationship:=tvwChild, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Key:=strNode2Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text:=strVisibleText<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rst.MoveNext<br />
&nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; rst.Close<br />
&nbsp; &nbsp;  <br />
&nbsp;  End With<br />
&nbsp;  dbs.Close<br />
&nbsp;<br />
ErrorHandlerExit:<br />
&nbsp;  Exit Function<br />
&nbsp;<br />
ErrorHandler:<br />
&nbsp;  Select Case Err.Number<br />
&nbsp; &nbsp; &nbsp; Case 35601<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Element not found<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strMessage = &quot;Possible Causes: You selected a table/query&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; for a child level which does not correspond to a value&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; from its parent level.&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; strMessage, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp; &nbsp; &nbsp; Case 35602<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Key is not unique in collection<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strMessage = &quot;Possible Causes: You selected a non-unique&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; field to link levels.&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; strMessage, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp; &nbsp; &nbsp; Case Else<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; &quot;@@&quot;, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp;  End Select<br />
&nbsp;  Resume ErrorHandlerExit<br />
&nbsp;<br />
End Function</code><hr />
</div></div>  </div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>masoud_sedighy</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/treeview-control-wizard-35788.html</guid>
		</item>
		<item>
			<title>Date code needed</title>
			<link>http://www.accessforums.net/programming/date-code-needed-35787.html</link>
			<pubDate>Wed, 19 Jun 2013 11:48:49 GMT</pubDate>
			<description>Dear all, 
 
I am working on an HR database. I need to make month days equal to 26 days if the employee works from the beginning of the month until...</description>
			<content:encoded><![CDATA[<div>Dear all,<br />
<br />
I am working on an HR database. I need to make month days equal to 26 days if the employee works from the beginning of the month until the end of the month.<br />
Our weekend is only during sundays. My problem is that sometimes we have 5 sundays so the working days are equal to 25 days while it should be 26.<br />
I have two textboxes: PaymentStartingDate &amp; PaymentFinishingDate<br />
I need to check if the PaymentStartingDate is the first day of the month and if the PaymentFinishingDate is the last day of the month.<br />
If so, then the Duration will be 26 days automatically.<br />
<br />
Thank you in advance.<br />
<br />
Regards,</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>spider</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/date-code-needed-35787.html</guid>
		</item>
		<item>
			<title>Accessing a table with a missing object</title>
			<link>http://www.accessforums.net/programming/accessing-table-missing-object-35778.html</link>
			<pubDate>Tue, 18 Jun 2013 20:15:32 GMT</pubDate>
			<description>Hello, this is my first post and I am ready to learn Acess 2010!!!. The error I am running into says that I am missing an object within the...</description>
			<content:encoded><![CDATA[<div>Hello, this is my first post and I am ready to learn Acess 2010!!!. The error I am running into says that I am missing an object within the conditional statement of this if structure. Any help would be much appreciated.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; If tblAdjustment.AdjustmentTypeID = &quot;6&quot; Or &quot;7&quot; Then&nbsp; &nbsp; &nbsp; &nbsp; total = total + tblAdjustment.AdjustmentQuantity<br />
&nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; total = total - tblAdjustment.AdjustmentQuantity<br />
&nbsp; &nbsp; End If</code><hr />
</div> -Kevin The Intern</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>kewelch</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/accessing-table-missing-object-35778.html</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] VBA to change the greatest value textbox ForeColor (and label) to red.]]></title>
			<link>http://www.accessforums.net/programming/vba-change-greatest-value-textbox-forecolor-label-35773.html</link>
			<pubDate>Tue, 18 Jun 2013 18:15:50 GMT</pubDate>
			<description><![CDATA[I'm creating a summary that uses Dcount() to count the number of records that meet certain criteria (# of projects in a state, for example).  Once...]]></description>
			<content:encoded><![CDATA[<div>I'm creating a summary that uses Dcount() to count the number of records that meet certain criteria (# of projects in a state, for example).  Once these values are calculated I'd like to change the ForeColor of the highest value to Red so that it sticks out.  I can loop through the control elements on the form, but I'm trying to figure out how to change the fore color.<br />
<br />
I have three textboxes:<br />
tboxRegion2<br />
tboxRegion3<br />
tboxRegion4<br />
<br />
This code loops through all of the textboxes on the form and finds the one with the highest value.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; Dim c As Control&nbsp; &nbsp; Dim txt As TextBox<br />
&nbsp; &nbsp; Dim high As Integer<br />
&nbsp; &nbsp; Dim value As Integer<br />
&nbsp; &nbsp; Dim tbox As String<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; high = 0<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; For Each c In Me.Controls<br />
&nbsp; &nbsp; &nbsp; &nbsp; If TypeOf c Is TextBox Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print c<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value = c<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If value &gt; high Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; high = value<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tbox = c.Name<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; Next c</code><hr />
</div><br />
This code changes the ForeColor property to red:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Me.tboxRegion4.ForeColor = RGB(255, 0, 0)</code><hr />
</div>What I need to do is combine the two code blocks by building the Me. statement using the variable tbox.  For example:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&quot;Me.&quot; &amp; tbox &amp; &quot;.ForeColor = RGB(255,0,0)&quot;</code><hr />
</div>I need Access to evaluate this statement rather than treat it as a string.<br />
<br />
Recommendations?</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>rhewitt</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/vba-change-greatest-value-textbox-forecolor-label-35773.html</guid>
		</item>
		<item>
			<title>Run-Time error 3141</title>
			<link>http://www.accessforums.net/programming/run-time-error-3141-a-35767.html</link>
			<pubDate>Tue, 18 Jun 2013 16:02:57 GMT</pubDate>
			<description><![CDATA[I'm getting a run-time error 3141 regarding some select statement, but the program stops at a line that doesn't deal with a sql statement at all...?...]]></description>
			<content:encoded><![CDATA[<div>I'm getting a run-time error 3141 regarding some select statement, but the program stops at a line that doesn't deal with a sql statement at all...?<br />
<br />
It stops at a line where I'm passing the open arguments to a form:<br />
<br />
DoCmd.OpenForm &quot;frm_CREATE_PRODUCER&quot;, , , , , , MEMBER_ID<br />
<br />
Not sure what the error message is trying to tell me.......<br />
<br />
Any help would be appreciated......CementCarver</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>CementCarver</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/run-time-error-3141-a-35767.html</guid>
		</item>
		<item>
			<title>Object Not Supported</title>
			<link>http://www.accessforums.net/programming/object-not-supported-35762.html</link>
			<pubDate>Tue, 18 Jun 2013 14:21:32 GMT</pubDate>
			<description><![CDATA[I'm using Martin Green's audit table code to track changes to my database. From the main business member form, the user can select to create a new...]]></description>
			<content:encoded><![CDATA[<div>I'm using Martin Green's audit table code to track changes to my database. From the main business member form, the user can select to create a new member and then I call up the edit form to allow the user to enter in data. But I prefill the edit form with the new company name, so I think the code, which is looking for the action to be either &quot;NEW&quot; or &quot;EDIT&quot;, deems this to be a new record. Which is correct. <br />
<br />
But I've altered Martin's code for the section under CASE ELSE because for some reason when it gets to this point, the action is still be recorded as EDIT and I've tried to replicate the code to be what's above.<br />
<br />
So I don't understand why the line &quot;If Nz(ctl.Value) &lt;&gt; Nz(ctl.OldValue) Then&quot; works in the upper section, but won't allow me to use it in the CASE ELSE section.<br />
Plus, if I comment out this line, the line further below ![OldValue] = ctl.OldValue causes an error.<br />
<br />
Plus, after implementing this code, there is never an entry for &quot;NEW&quot; rather they're all &quot;EDIT&quot;.<br />
<br />
Confused....CementCarver<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Sub AuditChanges(MEMBER_ID As String, UserAction As String)<br />
    'On Error GoTo AuditChanges_Err<br />
    Dim cnn As ADODB.Connection<br />
    Dim rstAudit As Recordset<br />
    Dim ctl As Control<br />
    Dim datTimeCheck As Date<br />
    Dim strUserID As String<br />
    Dim MaxMember_id As Integer<br />
    Dim db As Database<br />
    <br />
    Set cnn = CurrentProject.Connection<br />
    Set rst = New ADODB.Recordset<br />
    rst.Open &quot;Select * from Audit_Trail&quot;, cnn, adOpenDynamic, adLockOptimistic<br />
    datTimeCheck = Now()<br />
    strUserID = CurrentUser()<br />
    <br />
    MaxMember_id = DMax(&quot;[MEMBER_ID]&quot;, &quot;BUSINESS&quot;)<br />
    <br />
    Select Case UserAction<br />
        Case Edit<br />
            For Each ctl In Screen.ActiveForm.Controls<br />
                If ctl.Tag = Audit Then<br />
                     If ctl.ControlType = acTextBox Or ctl.ControlType = acComboBox Or ctl.ControlType = acCheckBox Then<br />
                        If Nz(ctl.Value) &lt;&gt; Nz(ctl.OldValue) Then.............<font color="#ff0000">.BUT THIS IS THE SAME LINE BELOW AND THIS ONE WORKS...!!!</font><br />
                            With rst<br />
                                .AddNew<br />
                                ![DateTime] = datTimeCheck<br />
                                ![UserName] = strUserID<br />
                                ![FormName] = Screen.ActiveForm.Name<br />
                                ![Action] = UserAction<br />
                                ![Record_ID] = MaxMember_id<br />
                                ![FieldName] = ctl.ControlSource<br />
                                ![OldValue] = ctl.OldValue<br />
                                ![NewValue] = ctl.Value<br />
                                .Update<br />
                                'Debug.Print &quot;Current values &quot; &amp; UserAction<br />
                            End With<br />
                        End If<br />
                    End If<br />
                End If<br />
            Next ctl<br />
        Case Else<br />
            For Each ctl In Screen.ActiveForm.Controls<br />
                If ctl.Tag = Audit Then<br />
                    If ctl.ControlType = acTextBox Or ctl.ControlType = acComboBox Or ctl.ControlType = acCheckBox Then<br />
                        If (ctl.Value) &lt;&gt; (ctl.OldValue) Then .............<font color="#ff0000">THIS IS THE LINE WHERE IT STOP AND GIVES ME AN ERROR</font> <font color="#ff0000">AND IF I COMMENT THIS LINE, THEN THE LINE BELOW WHICH TRIES TO LOAD THE !OLDVALUE CAUSES AN ERROR......</font><br />
                            With rst<br />
                                .AddNew<br />
                                ![DateTime] = datTimeCheck<br />
                                ![UserName] = strUserID<br />
                                ![FormName] = Screen.ActiveForm.Name<br />
                                ![Action] = UserAction<br />
                                ![Record_ID] = MaxMember_id<br />
                                ![FieldName] = ctl.ControlSource<br />
                                ![OldValue] = ctl.OldValue........<font color="#ff0000">CAUSES AN ERROR IF THE IF STATEMENT ABOVE IS COMMENTED OUT...</font><br />
                                ![NewValue] = ctl.Value<br />
                                .Update<br />
                            End With<br />
                        End If<br />
                    End If<br />
                End If<br />
            Next ctl<br />
    End Select<br />
AuditChanges_exit:<br />
    On Error Resume Next<br />
    rst.Close<br />
    cnn.Close<br />
    Set rst = Nothing<br />
    Set cnn = Nothing<br />
    Exit Sub<br />
AuditChanges_Err:<br />
    MsgBox Err.Description, vbCritical, &quot;Error!&quot;<br />
    Resume AuditChanges_exit<br />
End Sub</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>CementCarver</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/object-not-supported-35762.html</guid>
		</item>
		<item>
			<title>VBA and DOM to populate innerHTML on an input tag</title>
			<link>http://www.accessforums.net/programming/vba-dom-populate-innerhtml-input-tag-35757.html</link>
			<pubDate>Tue, 18 Jun 2013 12:13:03 GMT</pubDate>
			<description>Hi guys dont if anybody in this forum can help as I am not having a lot of luck elsewhere, I am using VBA from Access to automate IE .  
 
 
and I...</description>
			<content:encoded><![CDATA[<div>Hi guys dont if anybody in this forum can help as I am not having a lot of luck elsewhere, I am using VBA from Access to automate IE . <br />
<br />
<br />
and I have a piece of code that is not playing ball. It's not assigning a value to the innerHTML as expected. <br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Function PasteToWebPage(txt As String, ie As SHDocVw.InternetExplorer, Optional IfNotExactlyOne As htmlNotExactlyOne = htmlPasteToNone, Optional ElementID As String, Optional ClassName As String, Optional Name As String, Optional TagName As String, Optional href As String, Optional InnerHTML As String) As Long<br />
Dim hDoc As MSHTML.HTMLDocument<br />
Dim hCol As MSHTML.IHTMLElementCollection<br />
Dim hSelect As MSHTML.HTMLSelectElement<br />
'Dim Target As IHTMLInputElement<br />
On Error GoTo errorHandler<br />
<br />
<br />
Set hDoc = ie.Document<br />
<br />
<br />
With hDoc<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; If ElementID &lt;&gt; &quot;&quot; Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'ignores any value set for htmlNotExactlyOne<br />
&nbsp; &nbsp; &nbsp; &nbsp; .getElementByID(ElementID).InnerHTML = txt<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'If Target Is Nothing Then Err.Raise vbObjectError + 513<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Target.setAttribute &quot;value&quot;, txt<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; PasteToWebPage = 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; Exit Function<br />
&nbsp; &nbsp; End If<br />
...</code><hr />
</div><br />
I can assign to value i.e. .getElementByID(ElementID).value = txt works fine but doesn't change the visual content on the form - confused which I should use and why its not working.<br />
<br />
<br />
Err.Number=600 Err.Description=Application-defined or object-defined error <br />
<br />
<br />
Any comments welcome, thanks!</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>callmeandy</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/vba-dom-populate-innerhtml-input-tag-35757.html</guid>
		</item>
		<item>
			<title>Code for selecting records !! Please can someone help</title>
			<link>http://www.accessforums.net/programming/code-selecting-records-please-can-someone-help-35756.html</link>
			<pubDate>Tue, 18 Jun 2013 10:03:02 GMT</pubDate>
			<description>hi Guys - i am doing something simple and getting it wrong and frustratingly dont know where !! can someone help. The code below falls over on line ...</description>
			<content:encoded><![CDATA[<div>hi Guys - i am doing something simple and getting it wrong and frustratingly dont know where !! can someone help. The code below falls over on line <br />
<br />
Me.frmsubClients.Form.RecordSource = strSQL ..... saying i have a syntax error :mad:. I am pulling records from a sub form called 'frmsubClients' thanks in advance<br />
<br />
Private Sub btnSearch_Click()<br />
 ' Update the record source<br />
 Dim strBuiltFilter As String<br />
 Dim strSQL As String<br />
 strBuiltFilter = BuildFilter<br />
 Debug.Print BuildFilter<br />
 If strBuiltFilter = &quot;&quot; Then<br />
 strSQL = &quot;Select * FROM qryClientData&quot; &amp; strBuiltFilter<br />
 Else<br />
 strSQL = &quot;SELECT * FROM qryClientData WHERE&quot; &amp; strBuiltFilter<br />
 End If<br />
 Debug.Print strSQL<br />
 <font color="#FF0000"><b>Me.frmsubClients.Form.RecordSource = strSQL</b></font><br />
 ' Requery the subform<br />
 Me.frmsubClients.Requery<br />
End Sub</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>the_reg</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/code-selecting-records-please-can-someone-help-35756.html</guid>
		</item>
		<item>
			<title>How to fill level 3 of treeview</title>
			<link>http://www.accessforums.net/programming/how-fill-level-3-treeview-35755.html</link>
			<pubDate>Tue, 18 Jun 2013 07:27:01 GMT</pubDate>
			<description>Hello 
 
I have used below code for filling tree view with 2 levels. This tree view shows books for each Author, now I like to add level 3...</description>
			<content:encoded><![CDATA[<div>Hello<br />
<br />
I have used below code for filling tree view with 2 levels. This tree view shows books for each Author, now I like to add level 3 (transmittal no) for each book for example author1 has 2 books (book1, book2) and then for book1 we have 4 transmittal no (tt -003, tt-1000,tt-4000,tt-5000) and for book2 we have 1 transmittal no (tt-0009)<br />
My tables for 2 levels are:<br />
<br />
tblAuthors (AuthorID (pk), AuthorFirstName, AuthorLastName)<br />
<br />
tblBooks (BookID (pk),title)<br />
<br />
tblBookAuthor (AuthorID, BookID)<br />
<br />
Please help, now for 3 levels, what table I have to add and what changes I have to do in below code<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Function tvwBooks_Fill()<br />
'Created by Helen Feddema 2-10-2002<br />
'Last modified 4-23-2002<br />
&nbsp;<br />
'============================================================<br />
'Modified from a procedure generated by the Access 97<br />
'Treeview Control Wizard<br />
&nbsp;<br />
'PURPOSE: Fill the ActiveX Treeview Control 'tvwBooks' with<br />
'author and book information<br />
'ACCEPTS: Nothing<br />
'RETURNS: Nothing<br />
'CALLED FROM: Form Load event<br />
'============================================================<br />
&nbsp;<br />
On Error GoTo ErrorHandler<br />
&nbsp;<br />
&nbsp;  Dim strMessage As String<br />
&nbsp;  Dim dbs As DAO.Database<br />
&nbsp;  Dim rst As DAO.Recordset<br />
&nbsp;  Dim intVBMsg As Integer<br />
&nbsp;  Dim strQuery1 As String<br />
&nbsp;  Dim strQuery2 As String<br />
&nbsp;  Dim nod As Object<br />
&nbsp;  Dim strNode1Text As String<br />
&nbsp;  Dim strNode2Text As String<br />
&nbsp;  Dim strVisibleText As String<br />
&nbsp; <br />
&nbsp;  Set dbs = CurrentDb()<br />
&nbsp;  strQuery1 = &quot;qryEBookAuthors&quot;<br />
&nbsp;  strQuery2 = &quot;qryEBooksByAuthor&quot;<br />
&nbsp; <br />
&nbsp;  With Me![tvwBooks]<br />
&nbsp; &nbsp; &nbsp; 'Fill Level 1<br />
&nbsp; &nbsp; &nbsp; Set rst = dbs.OpenRecordset(strQuery1, dbOpenForwardOnly)<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; 'Add a node object for each record in the &quot;qryEBookAuthors&quot; table/query.<br />
&nbsp; &nbsp; &nbsp; 'The Key argument concatenates the level number and the LastNameFirst<br />
&nbsp; &nbsp; &nbsp; 'field of the Level 1 query, to create a unique key value for the node.<br />
&nbsp; &nbsp; &nbsp; 'The Text argument is the text displayed as a Level 1 node in the<br />
&nbsp; &nbsp; &nbsp; 'TreeView control<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; Do Until rst.EOF<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode1Text = StrConv(&quot;Level1&quot; &amp; rst![LastNameFirst], _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Set nod = .Nodes.Add(Key:=strNode1Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text:=rst![LastNameFirst])<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Expand the entire node<br />
&nbsp; &nbsp; &nbsp; &nbsp;  nod.Expanded = True<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rst.MoveNext<br />
&nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; rst.Close<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; 'Fill Level 2<br />
&nbsp; &nbsp; &nbsp; Set rst = dbs.OpenRecordset(strQuery2, dbOpenForwardOnly)<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; 'Add a node object for each record in the &quot;qryEBooksByAuthor&quot;<br />
&nbsp; &nbsp; &nbsp; 'table/query.<br />
&nbsp; &nbsp; &nbsp; 'The value of the Relative argument matches the Key argument value<br />
&nbsp; &nbsp; &nbsp; 'for the Level 1 node this Level 2 node belongs to.<br />
&nbsp; &nbsp; &nbsp; 'The Relationship argument takes a named constant, tvwChild,<br />
&nbsp; &nbsp; &nbsp; 'indicating that the Level 2 node becomes a child node of the<br />
&nbsp; &nbsp; &nbsp; 'Level 1 node named in the Relative argument.<br />
&nbsp; &nbsp; &nbsp; 'The Key argument concatenates the level number and the Title<br />
&nbsp; &nbsp; &nbsp; 'field of the Level 2 query, to create a unique key value for the node.<br />
&nbsp; &nbsp; &nbsp; 'The Text argument is the text displayed as a Level 2 node in the<br />
&nbsp; &nbsp; &nbsp; 'TreeView control<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; Do Until rst.EOF<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode1Text = StrConv(&quot;Level1&quot; &amp; rst![LastNameFirst], vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strNode2Text = StrConv(&quot;Level2&quot; &amp; rst![Title], vbLowerCase)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strVisibleText = rst![Title]<br />
&nbsp; &nbsp; &nbsp; &nbsp;  .Nodes.Add relative:=strNode1Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; relationship:=tvwChild, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Key:=strNode2Text, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text:=strVisibleText<br />
&nbsp; &nbsp; &nbsp; &nbsp;  rst.MoveNext<br />
&nbsp; &nbsp; &nbsp; Loop<br />
&nbsp; &nbsp; &nbsp; rst.Close<br />
&nbsp; &nbsp;  <br />
&nbsp;  End With<br />
&nbsp;  dbs.Close<br />
&nbsp;<br />
ErrorHandlerExit:<br />
&nbsp;  Exit Function<br />
&nbsp;<br />
ErrorHandler:<br />
&nbsp;  Select Case Err.Number<br />
&nbsp; &nbsp; &nbsp; Case 35601<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Element not found<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strMessage = &quot;Possible Causes: You selected a table/query&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; for a child level which does not correspond to a value&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; from its parent level.&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; strMessage, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp; &nbsp; &nbsp; Case 35602<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'Key is not unique in collection<br />
&nbsp; &nbsp; &nbsp; &nbsp;  strMessage = &quot;Possible Causes: You selected a non-unique&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot; field to link levels.&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; strMessage, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp; &nbsp; &nbsp; Case Else<br />
&nbsp; &nbsp; &nbsp; &nbsp;  intVBMsg = MsgBox(Error$ &amp; &quot;@@&quot;, vbOKOnly + _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vbExclamation, &quot;Run-time Error: &quot; &amp; Err.Number)<br />
&nbsp;  End Select<br />
&nbsp;  Resume ErrorHandlerExit<br />
&nbsp;<br />
End Function</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>masoud_sedighy</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/how-fill-level-3-treeview-35755.html</guid>
		</item>
		<item>
			<title>Clearing a range of cell in Excel from Access VBA</title>
			<link>http://www.accessforums.net/programming/clearing-range-cell-excel-access-vba-35750.html</link>
			<pubDate>Tue, 18 Jun 2013 02:24:20 GMT</pubDate>
			<description>OK, I have numerous ways to do this from within Excel VBA, but nothing that works from Access VBA. I can clear the entire sheet, but that is not what...</description>
			<content:encoded><![CDATA[<div>OK, I have numerous ways to do this from within Excel VBA, but nothing that works from Access VBA. I can clear the entire sheet, but that is not what I want to do. I only want to clear A2:B35. This is what I have that clears the entire sheet. I know there is a way to do this, but can't find an example.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Function ClearTrendData()<br />
Dim oXL As Object<br />
Dim oBook As Object<br />
Dim oSheet As Object<br />
<br />
Set oXL = CreateObject(&quot;Excel.Application&quot;)<br />
On Error Resume Next<br />
<br />
oXL.UserControl = True<br />
On Error GoTo 0<br />
On Error GoTo ErrHandle<br />
<br />
Set oBook = oXL.Workbooks.Open(&quot;E:\RCADatabase(FE) Current\RCACharting.xlsm&quot;)<br />
Set oSheet = oBook.Sheets(&quot;TrendData&quot;)<br />
<br />
<font color="#0000ff">oSheet.Cells.Clear<br />
oBook.Save</font><br />
<br />
ErrExit:<br />
&nbsp; &nbsp; &nbsp;  oBook.Close<br />
&nbsp; &nbsp; &nbsp;  oXL.Application.Quit<br />
&nbsp; &nbsp; &nbsp;  Set oXL = Nothing<br />
&nbsp; &nbsp; &nbsp;  Set oBook = Nothing<br />
&nbsp; &nbsp; &nbsp;  Set oSheet = Nothing<br />
&nbsp; &nbsp; &nbsp;  Exit Function<br />
ErrHandle:<br />
&nbsp; &nbsp; &nbsp; oXL.Visible = False<br />
&nbsp; &nbsp; &nbsp; MsgBox Err.Description<br />
&nbsp; &nbsp; &nbsp; GoTo ErrExit<br />
End Function</code><hr />
</div>I am sure that it is a change to the blue lines. Any suggestions?</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>dccjr</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/clearing-range-cell-excel-access-vba-35750.html</guid>
		</item>
		<item>
			<title>Use vba to detect if excel is open.</title>
			<link>http://www.accessforums.net/programming/use-vba-detect-if-excel-open-35743.html</link>
			<pubDate>Mon, 17 Jun 2013 19:48:35 GMT</pubDate>
			<description>Hello, I am wondering if there is a way to determine of a user has an open version of excel running. I have people who are opening a .xls file from...</description>
			<content:encoded><![CDATA[<div>Hello, I am wondering if there is a way to determine of a user has an open version of excel running. I have people who are opening a .xls file from the internet. These files are being OPENED NOT SAVED to their local machines. So I wonder if I can just figure out if excel is running, then interact with it from there...</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>redbull</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/use-vba-detect-if-excel-open-35743.html</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] Operation is not supported for this type of object error]]></title>
			<link>http://www.accessforums.net/programming/operation-not-supported-type-object-error-35740.html</link>
			<pubDate>Mon, 17 Jun 2013 19:09:28 GMT</pubDate>
			<description><![CDATA[How does one trap the location where this error is happening...." Operation is not supported for this type of object error? All I get is the message...]]></description>
			<content:encoded><![CDATA[<div>How does one trap the location where this error is happening....&quot; Operation is not supported for this type of object error? All I get is the message and not the line or subroutine where the error is occurring. <br />
<br />
What causes this error to happen?<br />
<br />
CementCarver<br />
</div>

]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>CementCarver</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/operation-not-supported-type-object-error-35740.html</guid>
		</item>
		<item>
			<title><![CDATA[XXXXX cannot find the object 'False.'  error message]]></title>
			<link>http://www.accessforums.net/programming/xxxxx-cannot-find-object-false-error-message-35722.html</link>
			<pubDate>Mon, 17 Jun 2013 01:08:05 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I get the following error: " XXXX cannot find the object "False."  If 'False' is a new macro group, make sure you have saved it and that...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I get the following error: &quot; XXXX cannot find the object &quot;False.&quot;  If 'False' is a new macro group, make sure you have saved it and that you hve typed its name correctly.<br />
<br />
I get this error when I click on a dropdown to change the selection on a Tabular Form.<br />
<br />
I would send you my program but it's too large but I will send an attachment of the code behind the form.  If you can help me then that would be great.<br />
<br />
Thanks<br />
<br />
Linda <br />
<a href="http://www.accessforums.net/attachment.php?attachmentid=12771&amp;d=1371428772"  title="Name:  TabularBetsy.JPG
Views: 3
Size:  30.7 KB">TabularBetsy.JPG</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://www.accessforums.net/images/attach/jpg.gif" alt="File Type: jpg" />
	<a href="http://www.accessforums.net/attachment.php?attachmentid=12771&amp;d=1371428772">TabularBetsy.JPG</a> 
(30.7 KB)
</li>
			</ul>
			</fieldset>
	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://www.accessforums.net/images/attach/txt.gif" alt="File Type: txt" />
	<a href="http://www.accessforums.net/attachment.php?attachmentid=12772&amp;d=1371431229">code-behind-form.txt</a> 
(12.5 KB)
</li>
			</ul>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>LindaRuble</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/xxxxx-cannot-find-object-false-error-message-35722.html</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] Double frondend to backend links following tabledef]]></title>
			<link>http://www.accessforums.net/programming/double-frondend-backend-links-following-tabledef-35712.html</link>
			<pubDate>Sat, 15 Jun 2013 22:15:51 GMT</pubDate>
			<description><![CDATA[I've attached a text file containing a sub code that creates a new table and adds the new fields.  The code runs fine, but somehow I managed to...]]></description>
			<content:encoded><![CDATA[<div>I've attached a text file containing a sub code that creates a new table and adds the new fields.  The code runs fine, but somehow I managed to create 2 links from the frontend to the backend.  I.e., tbSermons and tbSermons1  I don't see where the second link came from, unless the tabledef functionality does the first one automatically?<br />
<br />
I'd post the code inline here, but I don't know how to use the code tags?<br />
<br />
Thanks,<br />
Bill</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://www.accessforums.net/images/attach/txt.gif" alt="File Type: txt" />
	<a href="http://www.accessforums.net/attachment.php?attachmentid=12768&amp;d=1371334233">InitVer9.txt</a> 
(2.8 KB)
</li>
			</ul>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.accessforums.net/programming/">Programming</category>
			<dc:creator>GraeagleBill</dc:creator>
			<guid isPermaLink="true">http://www.accessforums.net/programming/double-frondend-backend-links-following-tabledef-35712.html</guid>
		</item>
	</channel>
</rss>
