I have checked this and I have the join FROM table A to table B.
I have managed to solve the problem by adding a Formula field with the following formula
if {TableA.Field1} >="3000" then "Yes" else "No"
and then added the following select criteria using the Select Expert.
{@CUSTOM_FIELD} =...
I am using Crystal Reports XI and have two tables joined by a left outer join.
Quick sample data:
Table A Table B
Field1 Field1 Field2
1000 1000 5.00
2000 1000 6.00
3000 1000 4.50
4000 3000 10.50
5000 5000 11.25
I can...
I have the following code in the onlick event of a button:
//Create a unique family id
var strFamilyName = window.document.forms[0].CPMainFamilyName.value;
var dteNow = new Date();
var strNumber = new String(dteNow.getTime());
var strFamilyID = new String(strFamilyName.substr(0,5) +...
Thank you so much.
I had tried all different variations for different browsers and managed to get myself into an awful mess.
You solution works for all the browsers I need it to.
(IE 6.0, Opera, Firefox 1.5, and Netscape)
Thanks again
Matt
I have the following (simplified) HTML.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<script language="JavaScript" type="text/javascript">
</script>
</head>
<frameset rows="15%,85%">
<frame name="fraTopNav" src="about:blank">
<frameset cols="17%,83%">...
We have the following Setup:
2 Windows 2003 Server Domain Controllers
Each DC has 2 NIC Cards in.
1st NIC 10.x.x.x
2nd NIC 172.x.x.x
If you connect via 1st NIC then all is Ok, if however you change the computer's IP and connect via the 2nd NIC you get a warning and the following in the Event...
Is this possible...
I have an event that is fired by a timer, but I would like that event to update a form as it goes so the user can see what is happening.
I have the following code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using...
Thanks for your help guys, I tried using single quotes instead of double ones and still get the same error. I also removed the Csng() function as you suggested Chip and still get an error. I have solved the problem by running the query as a text command instead of a procudure and and this...
...Product.Desc, Stock.Locn, CSng([Free]), CSng([SCode]), CSng(CSng(Stock!Free)-CSng(Product!Scode)), Lines.Today
HAVING (((Stock.Locn) Like "HOME*") AND ((Lines.Today) Like "DIC*"));
When I run it using OleDb in C# I get No Records returned, (There are records returned in Access). I have had...
Hi Chance,
Great minds think alike, this is what i have been working on:
Property Get PropertyNames() As String()
Dim AllProperties(21) As String
AllProperties(1) = "PartNumber"
AllProperties(2) = "SupplierCode"
AllProperties(3) = "SupplierPart"
AllProperties(4) = "NPP"
AllProperties(5) =...
Hi All,
I have a Class module in Excel:
(Short Version)
Dim strPartNumber As String
Dim strSupplierCode As String
Dim dblNPP As Double
'***PART NUMBER***
Property Get PartNumber() As String
PartNumber = strPartNumber
End Property
Property Let PartNumber(Part As String)
strPartNumber...
To get your code to run when the workbook is closed place your code in the Workbook_BeforeClose Event.
Something like this should do:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
If Cells(1,1) ="Hello World" Then
Me.Save
Else
Cancel = True
MsgBox "Please Don't...
John,
I am not sure what you mean by
The code seems to stop everytime the vb form is openned
I am guessing that you have one userform with a Submit button on it, and that the user types the Part Number into a textbox on that form and then clicks the Submit button, which runs the code to load...
Ok I think I get what you are trying to do now.
If you want to write the values back to the cells when they are changed on the text boxes, then try using a Range object instead of a string.
eg.
Option Explicit
'ranges instead of strings
Public rngOptionCode As Range
Public rngPartNumber As...
John
You could also try
OptionCode.Text = strOptionCode
(as in dyarwood's post)
Also are all the controls on the form referenced by the code Textboxes?
I am guessing a bit here, but if this code is trying to read the data from the Row where the part number was found and display it in the controls on the form. Then all you have done is got the assignments round the wrong way.
Try:
Option Explicit
Public strOptionCode As String
Public...
Just an idea, but could you import the data into Access, (File | Get External Data | Import)
Import each sheet seperatley so you have two tables.
And then create an Find Unmatched query, Access even has a wizard to create the query for you! (Click the New button in the queries tab)
I had a...
Hi PBA Paul,
I tried the following code:
Sub GetNotesFromOutlook()
Dim objContactsFolder As Outlook.MAPIFolder
Dim objContacts As Outlook.Items
Dim objContact As Object
Dim iCount As Integer
Dim objProperty As Outlook.ItemProperty
Set objContactsFolder =...
Hi PBAPaul,
I have just found this:
Note: When programmatically referring to the Message field, is is referred to as the Body property.
"is is" > "it is" (Their mistake not mine!)
Half way down this article...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.